from removebg import RemoveBg
import os

rmbg = RemoveBg("GMiTPpvmynYFpBSSZy8sPF9p", "error.log")
path = '%s/photo' % os.getcwd()
for pic in os.listdir(path):
    rmbg.remove_background_from_img_file("%s\%s" % (path, pic))
